package com.leeon.container.set;

import net.mindview.util.TextFile;

import java.util.Set;
import java.util.TreeSet;

public class UniqueWords {

    public static void main(String[] args){
        Set<String> words = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER);
        words.addAll(new TextFile("SetOperations.java","\\W+"));
        System.out.println(" * " + words);
    }

}
